<?php
/**
 * Description of function
 *
 * @author Alen
 * @since 1.0.0 2014-3-25
 */
function smarty_function_adddate($params) {
    $day=$params['day'];
    return date('Y-m-d',strtotime($day.' day')); 
}
